package com.onesports.intelligent.k12.polarlight.domain.dto.sys;

import com.onesports.framework.kit.common.valid.NotEmpty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author Wsy
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("单位账号DTO")
public class UnitAccountDTO extends AccountDTO{

    /**
     * 页面选的
     */
    @ApiModelProperty(value = "单位id",required = true)
    @NotEmpty(message = "单位id不可为空")
    private String organizationId;

    @ApiModelProperty(value = "权限(产品目录ids)",required = true)
    @NotEmpty(message = "权限不能为空")
    private List<String> authIds;
}
